package com.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author Yadasu
 * @date 2021/1/15 13:33
 */
@Data
@Entity
@Table(name = "sys_server_package_version")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SysServerAndPackageVersion implements Serializable {

    private static final long serialVersionUID = -4560650649550709812L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    @ApiModelProperty(value = "服务器与版本包中间表id")
    private Integer id;
    @Column(name = "server_id")
    @ApiModelProperty(value = "服务器id")
    private Integer serverId;
    @Column(name = "deploy_id")
    @ApiModelProperty(value = "版本包中id")
    private Integer deployId;


}
